package com.studentstreet.entities;

public class SellerEntity {
	private int id = 0;
	private String name = "";
	private String owner = "";
	private String address = "";
	private String tel = "";
	private String deliverTime = "";
	private String logoURL = "";
	private int credit = 0;
	private String desc = "";
	private double rank = 0.0D;
	private double lon = 0.0F;
	private double lat = 0.0F;
	private double distance = 0.0D;

	public SellerEntity() {
	}

	public SellerEntity(String name, String logoURL) {
		this.name = name;
		this.logoURL = logoURL;
	}

	public SellerEntity(int id, String name, String owner, String address,
			String tel, String deliverTime, String logoURL, int credit,
			String desc, double rank, double lon, double lat, double distance) {
		super();
		this.id = id;
		this.name = name;
		this.owner = owner;
		this.address = address;
		this.tel = tel;
		this.deliverTime = deliverTime;
		this.logoURL = logoURL;
		this.credit = credit;
		this.desc = desc;
		this.rank = rank;
		this.lon = lon;
		this.lat = lat;
		this.distance = distance;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getOwner() {
		return owner;
	}

	public String getAddress() {
		return address;
	}

	public String getTel() {
		return tel;
	}

	public String getDeliverTime() {
		return deliverTime;
	}

	public String getLogoURL() {
		return logoURL;
	}

	public int getCredit() {
		return credit;
	}

	public String getDesc() {
		return desc;
	}

	public double getRank() {
		return rank;
	}

	public double getLon() {
		return lon;
	}

	public double getLat() {
		return lat;
	}

	public double getDistance() {
		return distance;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public void setDeliverTime(String deliverTime) {
		this.deliverTime = deliverTime;
	}

	public void setLogoURL(String logoURL) {
		this.logoURL = logoURL;
	}

	public void setCredit(int credit) {
		this.credit = credit;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public void setRank(double rank) {
		this.rank = rank;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}

	@Override
	public String toString() {
		return "SellerEntity [id=" + id + ", name=" + name + ", owner=" + owner
				+ ", address=" + address + ", tel=" + tel + ", deliverTime="
				+ deliverTime + ", logoURL=" + logoURL + ", credit=" + credit
				+ ", desc=" + desc + ", rank=" + rank + ", lon=" + lon
				+ ", lat=" + lat + ", distance=" + distance + "]";
	}

}
